.class Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a;
.super Ljava/lang/Object;
.source "ModifyThemeActivity.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/theme/ModifyThemeActivity;->f(Ljava/util/List;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/theme/ModifyThemeActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/theme/ModifyThemeActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a;->a:Lcom/estrongs/android/ui/theme/ModifyThemeActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 6

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a;->a:Lcom/estrongs/android/ui/theme/ModifyThemeActivity;

    invoke-static {p1}, Lcom/estrongs/android/ui/theme/ModifyThemeActivity;->a(Lcom/estrongs/android/ui/theme/ModifyThemeActivity;)Lcom/estrongs/android/ui/theme/b;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/theme/b;->j()Ljava/util/List;

    move-result-object p1

    const/4 v0, 0x0

    if-nez p1, :cond_0

    return v0

    .line 2
    :cond_0
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a;->a:Lcom/estrongs/android/ui/theme/ModifyThemeActivity;

    invoke-static {v1}, Lcom/estrongs/android/ui/theme/ModifyThemeActivity;->b(Lcom/estrongs/android/ui/theme/ModifyThemeActivity;)I

    move-result v1

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/ui/theme/a;

    .line 3
    iget-object v1, p1, Lcom/estrongs/android/ui/theme/a;->b:Ljava/lang/String;

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a;->a:Lcom/estrongs/android/ui/theme/ModifyThemeActivity;

    invoke-static {v2}, Lcom/estrongs/android/ui/theme/ModifyThemeActivity;->b(Lcom/estrongs/android/ui/theme/ModifyThemeActivity;)I

    move-result v2

    if-nez v2, :cond_1

    .line 5
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a;->a:Lcom/estrongs/android/ui/theme/ModifyThemeActivity;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f110a71

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 6
    :cond_1
    new-instance v2, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v3, p0, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a;->a:Lcom/estrongs/android/ui/theme/ModifyThemeActivity;

    invoke-direct {v2, v3}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v3, 0x7f110a7f

    .line 7
    invoke-virtual {v2, v3}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v3, p0, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a;->a:Lcom/estrongs/android/ui/theme/ModifyThemeActivity;

    const v4, 0x7f110a7e

    const/4 v5, 0x1

    new-array v5, v5, [Ljava/lang/Object;

    aput-object v1, v5, v0

    .line 8
    invoke-virtual {v3, v4, v5}, Landroid/app/Activity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Ljava/lang/CharSequence;)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f11029e

    new-instance v3, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a$b;

    invoke-direct {v3, p0, p1}, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a$b;-><init>(Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a;Lcom/estrongs/android/ui/theme/a;)V

    .line 9
    invoke-virtual {v2, v1, v3}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const p1, 0x7f110299

    new-instance v1, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a$a;-><init>(Lcom/estrongs/android/ui/theme/ModifyThemeActivity$a;)V

    .line 10
    invoke-virtual {v2, p1, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 11
    invoke-virtual {v2}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    return v0
.end method
